home *** CD-ROM | disk | FTP | other *** search
- Path: sn.no!not-for-mail
- From: christon (Christopher Naas)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Sliiy window question
- Date: 1 Feb 1996 17:20:51 +0100
- Organization: SN Internett
- Message-ID: <482.6605T1015T1288@Th0r.foo.bar>
- References: <4enngd$e6h@news.kth.se>
- NNTP-Posting-Host: sinsen.sn.no
- X-Newsreader: THOR 2.21 (Amiga;SOUP)
-
- Johan Forsberg wrote:
-
- >How, exactly, do you calculate the position/size of the interior area of
- >a window?
- x = window->BorderLeft;
- y = window->BorderTop;
- width = window->Width - window->BorderLeft - window->BorderRight;
- height = window->Height - window->BorderTop - window->BorderBottom;
-
- --
- Christopher Landmark Naas o EMail: christon@sn.no
- LoungeBar Development o WWW: http://www.sn.no/~christon/
- Former Reg. Amiga Developer o IRC: KarmaComa
-